-- Decompiled with the Synapse X Luau decompiler.

local ClientOHOH = _G.ClientOHOH;
local v2 = Vector2.new(0.5, 0.5);
local M = {};
local u1 = {};
local TweenHelper = ClientOHOH.load.TweenHelper();
local tw1 = TweenInfo.new(0.1, Enum.EasingStyle.Quad);
local Client_AudioManager = ClientOHOH.load.Client_AudioManager();
function M.InitButton(p1, p2, p3, p4, p5, p6)
	u1[p2] = p2.Size;
	p3 = p3 and p3 or 1.05;
	p4 = p4 and p4 or 0.85;
	p5 = p5 and p5 or 1.05;
	local l__Scale__5 = p2.Size.X.Scale;
	local l__Scale__6 = p2.Size.Y.Scale;
	p2.MouseEnter:Connect(function()
		TweenHelper:PlayTween(p2, tw1, {
			Size = UDim2.fromScale(l__Scale__5 * p3, l__Scale__6 * p3)
		});
	end);
	p2.MouseLeave:Connect(function()
		TweenHelper:PlayTween(p2, tw1, {
			Size = UDim2.fromScale(l__Scale__5, l__Scale__6)
		});
	end);
	p2.MouseButton1Down:Connect(function()
		if p6 then
			p6();
		end;
		Client_AudioManager:PlayGloble("click");
		TweenHelper:PlayTween(p2, tw1, {
			Size = UDim2.fromScale(l__Scale__5 * p4, l__Scale__6 * p4)
		});
	end);
	p2.MouseButton1Up:Connect(function()
		TweenHelper:PlayTween(p2, tw1, {
			Size = UDim2.fromScale(l__Scale__5, l__Scale__6)
		});
	end);
end;
function M.ResetBtn(p7, p8)
	TweenHelper:PlayTween(p8, tw1, {
		Size = UDim2.fromScale(u1[p8].X.Scale, u1[p8].Y.Scale)
	});
end;
return M;
